package org.jeecg.modules.stCbhs.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 成本核算
 * @Author: jeecg-boot
 * @Date:   2020-06-13
 * @Version: V1.0
 */
@Data
@TableName("hq_st_cbhs")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hq_st_cbhs对象", description="成本核算")
public class HqStCbhs implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**餐饮公司*/
	@Excel(name = "餐饮公司", width = 15, dicCode = "canygs")
	@Dict(dicCode = "canygs")
    @ApiModelProperty(value = "餐饮公司")
    private String canygsId;
	/**销售额*/
	@Excel(name = "销售额", width = 15)
    @ApiModelProperty(value = "销售额")
    private Double xiaose;
	/**原材料*/
	@Excel(name = "原材料", width = 15)
    @ApiModelProperty(value = "原材料")
    private Double yuancl;
	/**人员工资*/
	@Excel(name = "人员工资", width = 15)
    @ApiModelProperty(value = "人员工资")
    private Double renygz;
	/**水电气*/
	@Excel(name = "水电气", width = 15)
    @ApiModelProperty(value = "水电气")
    private Double shuidq;
	/**总计*/
	@Excel(name = "总计", width = 15)
    @ApiModelProperty(value = "总计")
    private Double zongj;
	/**原材料成本率(%)*/
	@Excel(name = "原材料成本率(%)", width = 15)
    @ApiModelProperty(value = "原材料成本率(%)")
    private Double yuanclcbl;
	/**净利润 (%)*/
	@Excel(name = "净利润 (%)", width = 15)
    @ApiModelProperty(value = "净利润 (%)")
    private Double jinglr;
	/**利润率 (%)*/
	@Excel(name = "利润率 (%)", width = 15)
    @ApiModelProperty(value = "利润率 (%)")
    private Double lirl;
	/**统计日期*/
	@Excel(name = "开始日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开始日期")
    private Date tongjrqks;
    /**统计日期*/
    @Excel(name = "结束日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "结束日期")
    private Date tongjrqjs;
}
